package com.xindacloud.sms.portal.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xindacloud.sms.portal.dao.SmsProjectMapper;
import com.xindacloud.sms.portal.dao.SmsProjectMemberMapper;
import com.xindacloud.sms.portal.entity.SmsProjectMember;
import com.xindacloud.sms.portal.service.ISmsProjectMemberService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;


@Slf4j
@Service
public class SmsProjectMemberServiceImpl extends ServiceImpl<SmsProjectMemberMapper, SmsProjectMember> implements ISmsProjectMemberService {

    @Override
    public List<SmsProjectMember> queryProjectMemberList(Integer userId) {
        return lambdaQuery()
                .eq(SmsProjectMember::getUserId, userId)
                .list();
    }
}
